0d6b62b7a957db5497f4b1fe4da56424984faa00,samples/httpsession-gemfire-p2p-xml/src/integration-test/java/sample/AttributeTests.java,AttributeTests,createAttribute,#,52
Before Change
public void createAttribute() {
HomePage home = HomePage.go(this.driver);
home.addAttribute("a", "b");
assertThat(home.attributes().size()).isEqualTo(1);
assertThat(home.row(0).getAttributeName()).isEqualTo("a");
assertThat(home.row(0).getAttributeValue()).isEqualTo("b");
}
After Change
.attributeName("a")
.attributeValue("b")
.submit(HomePage.class);
assertThat(home.attributes()).extracting("attributeName").containsOnly("a");
assertThat(home.attributes()).extracting("attributeValue").containsOnly("b");
}